﻿<Window x:Class="PocketBook.UI.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:toolkit="http://schemas.xceed.com/wpf/xaml/toolkit"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:controls="clr-namespace:PocketBook.UI.Controls"
        xmlns:t="clr-namespace:System.Windows.Controls.Design.Common;assembly=System.Windows.Controls.Layout.Toolkit.Design"
        mc:Ignorable="d" 
        Title="Pocket Book" Height="500" Width="800"
        Icon="Resources/MainIcon.ico"
        FontFamily="Segoe UI"
        FontWeight="Light"
        FontSize="16" 
        ResizeMode="NoResize"
        WindowStartupLocation="CenterScreen">
    <Window.DataContext>
        <Binding Mode="OneWay" Path="Main" Source="{StaticResource Locator}"/>
    </Window.DataContext>
    <Grid>
        <TabControl Margin="2,2,2,2" Style="{StaticResource BlueTabControl}" ItemsSource="{Binding Path=Workspaces}" SelectedIndex="0">
            <TabControl.ItemTemplate>
                <DataTemplate>
                    <HeaderedContentControl Header="{Binding Path=DisplayName}" />
                </DataTemplate>
            </TabControl.ItemTemplate>
        </TabControl>
    </Grid>

</Window>
